package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.ext.CourseInfo;
import com.xuecheng.framework.domain.course.request.CourseListRequest;
import com.xuecheng.framework.model.response.QueryResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * 课程信息Api
 */
@Api(value = "课程计信息查询接口", tags = {"课程信息查询接口,提供课程的管理,查询接口"})
public interface CourseInfoApi {
    /**
     * 分页查询我的课程信息
     * @param page 查询第几页
     * @param size 一页显示多少
     * @param courseListRequest 可以携带参数查询
     * @return
     */
    @ApiOperation("分页查询我的课程信息")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "page", value = "查询的当前页", required = true, paramType = "path"),
            @ApiImplicitParam(name = "size", value = "一页显示多少个", required = true, paramType = "path")
    })
    QueryResponseResult findList(int page, int size, CourseListRequest courseListRequest);
}
